package cc.mrbird.common.utils;

/**
 * @author yzb
 * @Date 2019年9月17日
 */
public enum ChineseToUpper {

	郑州("ZHENGZHOU"),
	安阳("ANYANG"),
	濮阳("PUYANG"),
	鹤壁("HEBI"),
	焦作("JIAOZUO"),
	新乡("XINXIANG"),
	济源("JIYUAN"),
	三门峡("SANMENXIA"),
	洛阳("LUOYANG"),
	平顶山("PINGDINGSHAN"),
	许昌("XUCHANG"),
	开封("KAIFENG"),
	商丘("SHANGQIU"),
	周口("ZHOUKOU"),
	漯河("LUOHE"),
	驻马店("ZHUMADIAN"),
	信阳("XINYANG"),
	南阳("NANYANG");
	
	String cityName;
	
	private ChineseToUpper(String cityName) {
		this.cityName = cityName;
	}

	public String getkey() {
		return cityName;
	}
	
	public static ChineseToUpper getCity(String cityName) {
		switch (cityName) {
		case "郑州":
			return 郑州;
		case "安阳":
			return 安阳;
		case "濮阳":
			return 濮阳;
		case "鹤壁":
			return 鹤壁;
		case "焦作":
			return 焦作;
		case "新乡":
			return 新乡;
		case "济源":
			return 济源;
		case "三门峡":
			return 三门峡;
		case "洛阳":
			return 洛阳;
		case "平顶山":
			return 平顶山;
		case "许昌":
			return 许昌;
		case "开封":
			return 开封;
		case "商丘":
			return 商丘;
		case "周口":
			return 周口;
		case "漯河":
			return 漯河;
		case "驻马店":
			return 驻马店;
		case "信阳":
			return 信阳;
		case "南阳":
			return 南阳;
		default:
			return null;
		}
	}
	
	
}
